package action;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.io.PrintWriter;

public class OrderAction {

    public String create(HttpServletRequest request, HttpServletResponse response) throws IOException {
        System.out.println("OrderAction.create()");

        response.setContentType("application/json;charset=utf-8");

        PrintWriter out=response.getWriter();

        System.out.println("创建订单");

        out.print("{\"message\":\"订单创建成功\"}");

        return null;
    }

}
